﻿<UserControl x:Class="FirstFloor.ModernUI.App.Content.ControlsModernDialog"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel HorizontalAlignment="Left">
        <TextBlock Text="MODERNDIALOG" Style="{StaticResource Heading2}" Margin="0,0,0,8" />

        <Button Content="common dialog" Margin="0,0,0,8" HorizontalAlignment="Left" Click="CommonDialog_Click"/>
        <TextBlock>
            <Run Text="Dialog result:" />
            <Run x:Name="dialogResult" FontWeight="Bold" />
        </TextBlock>
        <TextBlock Margin="0,0,0,32">
            <Run Text="MessageBox result:" />
            <Run x:Name="dialogMessageBoxResult" FontWeight="Bold" />
        </TextBlock>

        <TextBlock Text="MESSAGEBOX" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
        <StackPanel Margin="0,0,0,8">
            <RadioButton x:Name="ok" Content="ok" IsChecked="True" Margin="0,0,0,2" />
            <RadioButton x:Name="okcancel" Content="ok, cancel" Margin="0,0,0,2"/>
            <RadioButton x:Name="yesno" Content="yes, no" Margin="0,0,0,2"/>
            <RadioButton x:Name="yesnocancel" Content="yes, no, cancel" Margin="0,0,0,2"/>
        </StackPanel>
        
        <Button Content="message dialog" Click="MessageDialog_Click" Margin="0,0,0,8"/>
        <TextBlock>
            <Run Text="MessageBox result:" />
            <Run x:Name="msgboxResult" FontWeight="Bold" />
        </TextBlock>
    </StackPanel>
</UserControl>
